import request from '@/config/axios'
// 首页数据接口
export const homeDataApi= () => {
  return request.post({ url: '/business/dashboard/getData' })
}
// 部门人员类型统计接口
export const getDeptDataApi= () => {
  return request.post({ url: '/business/dashboard/getDeptData' })
}
// 职称等级统计接口
export const getTitleGradeApi= () => {
  return request.post({ url: '/business/dashboard/getTitleGrade' })
}
// 岗位类别统计接口
export const getJobCategoryApi= (type: string) => {
  return request.get({ url: '/business/dashboard/getJobCategory?type='+type })
}
// 入离职统计接口
export const getEmployeApi= (type: string) => {
  return request.get({ url: '/business/dashboard/getEmployeeStatusStatistic?type='+type })
}
// 学历统计接口
export const getEducationApi= (type: string) => {
  return request.get({ url: '/business/dashboard/getEducationLevelStatistic?type='+type })
}
